package com.gzist.elderlyserviceplatform.entity.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 注册接口DTO
 */
@Schema(name = "RegisterUserDto", description = "注册接口参数")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RegisterUserDto implements Serializable {

    @Schema(accessMode = Schema.AccessMode.READ_ONLY)
    private static final long serialVersionUID = 1L;
    @Schema(description = "登录账号")
    private String username;
    @Schema(description = "密码")
    private String password;
    @Schema(description = "重复密码")
    private String repeatedPassword;
}